<script type="text/javascript">
<!--
$(function(){
		loadTaskGeneral();
	});
function saveTaskGeneral(){
	task.id=$('#id').val();
	task.setTaskName($.trim($('#name').val()));
	//console.dir(task);
	if($('#asynchronous').prop('checked')){
		task.asynchronous=true;
	}else{
		task.asynchronous=false;
	}
	if(!$('#exclusive').prop('checked')){
		task.exclusive=false;
	}else{
		task.exclusive=true;
	}
	//console.log(task);
}
function loadTaskGeneral(){
	$('#id').val(task.id);
	$('#name').val(task.name);
	if(task.asynchronous){
		$('#asynchronous').prop('checked',true);
	}else{
		$('#asynchronous').prop('checked',false);
	}
	if(!task.exclusive){
		$('#exclusive').prop('checked',false);
	}else{
		$('#exclusive').prop('checked',true);
	}
}
//-->
</script>
<table id="general-properties">
					<tr>
						<td align="right">Id:</td>
						<td><input type="text" id="id" name="id" size="50" value=""/></td>
					</tr>
					<tr>
						<td align="right">Name:</td>
						<td><input type="text" id="name" name="name" size="50" value=""/></td>
					</tr>
					<tr>
						<td align="right">Asynchronous:</td>
						<td><input type="checkbox" id="asynchronous" name="asynchronous" value="true"/></td>
					</tr>
					<tr>
						<td align="right">Exclusive:</td>
						<td><input type="checkbox" id="exclusive" name="exclusive" value="true" checked/></td>
					</tr>
</table>